import 'dart:convert';

LotSampleEntity lotSampleEntityFromJson(String str) =>
    LotSampleEntity.fromJson(json.decode(str));

String lotSampleEntityToJson(LotSampleEntity data) =>
    json.encode(data.toJson());

class LotSampleEntity {
  LotSampleEntity({
    this.lotNum,
    this.cardMark,
    this.sampleType,
    this.orderNum,
    this.totalNum,
    this.deviceNum,
  });

  LotSampleEntity.fromJson(dynamic json) {
    lotNum = json['lotNum'];
    sampleType = json['sampleType'];
    orderNum = json['orderNum'];
    cardMark = json['cardMark'];
    totalNum = json['totalNum'];
    deviceNum = json['deviceNum'];
  }

  String? lotNum;

  //样本类型
  String? sampleType;

  //试剂卡标识
  String? cardMark;

  //顺序号
  String? orderNum;

  //总条数
  String? totalNum;

  //仪器编号
  String? deviceNum;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['lotNum'] = lotNum;
    map['sampleType'] = sampleType;
    map['orderNum'] = orderNum;
    map['cardMark'] = cardMark;
    map['deviceNum'] = deviceNum;
    map['totalNum'] = totalNum;
    return map;
  }
}
